/////////////////////////////////////////////////////////////////////////////
/*/	
 *	Creator:		Joshua C. Rouzer
 *	Title:			
 *	Last Edited:	06/11/2013
 *	Summary:		
/*/
/////////////////////////////////////////////////////////////////////////////
#ifndef CRATE_H
#define CRATE_H
#include "SPosition.h"
class CCrate{
public:
	CCrate();
	~CCrate();
	int GetImageID(void) {return m_nCrateImg; }
	void SetCredits(unsigned int Credits) { m_unCredits = Credits; }
	void SetPosX(float x) { m_sPos.m_nPosX = x; }
	void SetPosY(float y) { m_sPos.m_nPosY = y; }
	void SetType(int type) { m_eType = type; }
	void SetScale(float scale) { m_fScale = scale; }
	void SetPickingUp(bool tof) { m_bPickingUp = tof; }
	void SetCurrPos(unsigned int pos) { m_fCurrPos = (float)pos; }
	void SetAIPickUp(bool i) { m_bAIPickUp = i; }
	float GetCurrPos() { return m_fCurrPos; }
	float GetPosX() { return m_sPos.m_nPosX; }
	float GetPosY() { return m_sPos.m_nPosY; }
	int GetWidth() { return m_nWidth; }
	int GetHeight() { return m_nHeight; }
	int GetCredits() { return m_unCredits; }
	SPosition GetPos() { return m_sPos; }
	bool IsAbducted() { return m_bPickingUp; }
	void SetAbducted(bool tof) { m_bPickingUp = tof; }
	bool GetAIPickUp() { return m_bAIPickUp; }

	void Render();
	void Update(float dT);
//	CCrate(const CCrate& copy);
//	CCrate& operator=(const CCrate& copy);
private:
	unsigned int	m_unCredits;
	SPosition		m_sPos;
			float	m_fCurrPos;
			float	m_fVel;
			bool	m_bPickingUp;
			int		m_eType;
			float	m_fScale;
			int		m_nCrateImg;
			int		m_nWidth;
			int		m_nHeight;
			bool	m_bAIPickUp;
};
#endif